package com.lty.test;

/**
 * 抽象类处理器
 * @author lty
 */
public abstract class AbstractProcessor {
    protected AbstractProcessor nextProcessor;

    public void setNextProcessor(AbstractProcessor nextProcessor) {
        this.nextProcessor = nextProcessor;
    }

    public abstract void process(String text);
}
